package cn.gzmli.dtt.common.entity;

import org.hibernate.validator.constraints.NotBlank;
import org.springframework.format.annotation.DateTimeFormat;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.validation.constraints.NotNull;
import java.util.Date;

@Entity
public class Codeinfo {

	@Id
	private Integer codeInfoId;
	@NotBlank
	private String codeInfoName;
	@NotNull
	private Integer codeInfoType;
	@NotBlank
	private String codeMarkName;
	private Integer codeMarkType;
	private Integer orderNo;
	private Integer codeInfoStatus;
	private String description;
	@DateTimeFormat(pattern = "yyyy-MM-dd")
	private Date createTime;


	public Integer getCodeInfoId() {
		return codeInfoId;
	}

	public void setCodeInfoId(Integer codeInfoId) {
		this.codeInfoId = codeInfoId;
	}

	public String getCodeInfoName() {
		return codeInfoName;
	}

	public void setCodeInfoName(String codeInfoName) {
		this.codeInfoName = codeInfoName;
	}

	public Integer getCodeInfoType() {
		return codeInfoType;
	}

	public void setCodeInfoType(Integer codeInfoType) {
		this.codeInfoType = codeInfoType;
	}

	public String getCodeMarkName() {
		return codeMarkName;
	}

	public void setCodeMarkName(String codeMarkName) {
		this.codeMarkName = codeMarkName;
	}

	public Integer getCodeMarkType() {
		return codeMarkType;
	}

	public void setCodeMarkType(Integer codeMarkType) {
		this.codeMarkType = codeMarkType;
	}

	public Integer getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(Integer orderNo) {
		this.orderNo = orderNo;
	}

	public Integer getCodeInfoStatus() {
		return codeInfoStatus;
	}

	public void setCodeInfoStatus(Integer codeInfoStatus) {
		this.codeInfoStatus = codeInfoStatus;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}
}
